import { defineStore } from "pinia";

export default defineStore("other", {
  state() {
    // 路由历史
    const routerHistory: Array<RouterHistoryItemType> = [
      {
        name: "主控台",
        routeName: "console",
        meta: {
          isKeepAlive: false,
          isClose: false,
          title: "主控台",
          menuName: "1-1",
        },
      },
    ];
    return {
      routerHistory,
    };
  },
  getters: {},
  actions: {},
});
